docs(changelog): Flaky Tests Test Collections#146
Conversation
Add changelog entry for Test Collections — named groups of tests within a repository, each with their own settings, quarantine policies, and scoped views. Upload results to a collection via the Trunk CLI using the collection's short ID. Source eng PRs: trunk-io/trunk2#3583 (CRUD core), #3598 (UI polish), #3660 (collection-level quarantining), #3678 (QA fixes). Linear: TRUNK-18209. Date basis: latest source PR mergedAt (#3678, 2026-04-22). Wired into: changelog/2026-04-22-flaky-tests-test-collections.mdx, docs.json, changelog/index.mdx, flaky-tests/changelog.mdx. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Verification status (2026-05-28): Verified: customers can use this. Ready to publish.
Ready to publish. |
verify-docs-against-code found the upload flag is --test-collection-short-id (analytics-cli/cli/src/upload_command.rs), not --collection. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Code verification (2026-05-28): 2 confirmed / 1 contradicted (corrected in this PR) / 0 ambiguous / 0 unverifiable
The original entry said the upload flag was Source #1 — Upload via short ID / CLI flag name (confirmed + contradicted)File: #[arg(
long,
env = constants::TRUNK_TEST_COLLECTION_SHORT_ID_ENV,
help = "Optional test collection short ID to attach to the uploaded bundle for collection-aware ingestion.",
required = false,
num_args = 1
)]
pub test_collection_short_id: Option<String>,Reasoning: The uploader accepts a test collection short ID, which confirms the "upload via short ID" claim. The flag uses clap's Source #2 — Admin manage / member view RBAC (confirmed)File: // list / get
const { orgId } = await requireSessionOrgReadAccess({ session });
// create / update / delete
const { orgId } = await requireSessionOrgWriteAccess({ session });Reasoning: Read operations (list collections, get collection, get details) are guarded by |
|
Closing in favor of #137, which already publishes this same Test Collections changelog entry AND fixes the docs page (removes |
What shipped
Test Collections — named groups of tests within a repository, each with their own settings, quarantine policies, and scoped views. Upload test results to a collection directly from the Trunk CLI using the collection's short ID, and see tests, uploads, and configuration scoped to that collection across the Flaky Tests app.
Source
Files wired (4 sites)
changelog/2026-04-22-flaky-tests-test-collections.mdx(new entry)docs.json(Changelog tab, 2026 group)changelog/index.mdx(April 2026 section)flaky-tests/changelog.mdx(new April 2026 section)Docs link target: https://docs.trunk.io/flaky-tests/get-started/test-collections
🤖 Generated with Claude Code